home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / sphigs / sph_dos.lha / dos / srgpdemo / README next >
Encoding:
Text File  |  1991-11-26  |  1.8 KB  |  52 lines

  1. THESE DEMOS ARE PROVIDED IN THE FORM OF SOURCE CODE.  You must build a project
  2. file to execute a demo.  Two example project files are provided to help you get
  3. started, but filenames may differ on your system, so even they may need some
  4. modification.  Moreover, be aware that some of the demos have been tested only
  5. on the Macintosh platform, and may act strangely on PCs.
  6.  
  7.  
  8.                    test_loc
  9.  
  10. This program places the keyboard in RAW EVENT mode, and continuously displays
  11. the deluxe locator measure.  It is an excellent way to get to know SRGP's
  12. locator.  If it looks like the modifier chord and timestamp aren't working, you
  13. may want to re-read the reference manual's section on input carefully; they are
  14. supposed to reflect conditions as of the most recent mouse-button state change.
  15.  
  16. You use the keyboard to control the locator's mode:
  17.   i -- inactive
  18.   s -- sample (display is updated 3 times a second)
  19.   e -- event
  20.  
  21. You also use the keyboard to control the echo attribute:
  22.   c -- cursor
  23.   l -- rubber line
  24.   r -- rubber rect
  25.  
  26. You can control the button mask in this way:
  27.   1 -- toggles the status of the LEFT button in the button mask
  28.          ... etc. ...   for 2 (MIDDLE) and 3 (RIGHT)
  29.  
  30. You quit by typing:
  31.   q -- QUIT
  32.  
  33.  
  34.                     showpat
  35.  
  36. Simply displays all the built-in patterns and their corresponding indices.  
  37. Again, made for the Mac II screen.
  38.  
  39.  
  40.                    testrubb
  41.  
  42. The left mouse button adds a new line to the screen.  The right mouse button
  43. just changes the current anchor point.  Entering a 'Q' on the keyboard quits.
  44.  
  45.  
  46.                    testpain
  47.  
  48. Each mouse button paints a different primary color.  Holding down more than one
  49. mouse button produces a "blend" of primary colors.  Basically shows the use of
  50. the locator in sample mode.  (NOTE: it works even on monochrome screens,
  51. because of its use of patterns as a secondary attribute.)
  52.